
// 低代码平台和生产环境用生产域名，其他用测试域名
const BASIC_PATH =
  ['dv.dlife.cn'].includes(window.location.host)
    ? 'https://vcp.21cn.com/'
    : process.env.NODE_ENV === 'development'
      ? 'https://vcp.21cn.com/'
      : '/';


export const API_URLS = {
  getCardDeviceInfo: `${BASIC_PATH}gw/vcpsaas/screen/card/getCardDeviceInfo`, // 获取卡片配置
  saveCardDeviceInfo: `${BASIC_PATH}gw/vcpsaas/screen/card/saveCardDeviceInfo`, // 保存卡片配置
  sortArea:`${BASIC_PATH}gw/vcpsaas/card/common/sort`, // 获取统计
  getBatchDeviceStatus: `${BASIC_PATH}gw/vcpsaas/device/batchDeviceStatus`, // 获取设备在线状态
  getDeviceInfoByDevs: `${BASIC_PATH}gw/vcpsaas/device/getDeviceInfoByDevs`, // 设备信息
  getRegions: `${BASIC_PATH}gw/vcpsaas/device/getRegions`, // 监控目录
  deviceCount: `${BASIC_PATH}gw/vcpsaas/device/deviceCount`, // 设备数量
  getDevicePackageList: `${BASIC_PATH}gw/vcpsaas/device/getDevicePackageList`, // 设备套餐
  getCusDevices: `${BASIC_PATH}gw/vcpsaas/device/getCusDevices`, // 设备搜索（监控目录）
  getIndDevices: `${BASIC_PATH}gw/vcpsaas/device/getIndDevices`, // 设备搜索（固定业务树）

  //自定义api
  getDisputeWarningList: `${BASIC_PATH}gw/vcpsaas/card/widgetData/proxy/11470142`, // 查询疑似医患纠纷人员预警list
  getDeathWarningList: `${BASIC_PATH}gw/vcpsaas/card/widgetData/proxy/11560141`, // 查询疑似非正常死亡人员预警list
}